package com.ruoyi.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户反馈对象 t_user_feedback
 * 
 * @author ruoyi
 * @date 2022-10-23
 */
public class UserFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long feedbackId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long loginId;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String content;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String image;

    /** 1订单异常、2柜门未开、3床位损坏、4柜门无法关闭、5其他 */
    @Excel(name = "1订单异常、2柜门未开、3床位损坏、4柜门无法关闭、5其他")
    private Long type;

    /** 用户订单 */
    @Excel(name = "用户订单")
    private String orderNumber;

    /** 反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "反馈时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    public void setFeedbackId(Long feedbackId) 
    {
        this.feedbackId = feedbackId;
    }

    public Long getFeedbackId() 
    {
        return feedbackId;
    }
    public void setLoginId(Long loginId) 
    {
        this.loginId = loginId;
    }

    public Long getLoginId() 
    {
        return loginId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("loginId", getLoginId())
            .append("content", getContent())
            .append("image", getImage())
            .append("type", getType())
            .append("orderNumber", getOrderNumber())
            .append("date", getDate())
            .toString();
    }
}
